{literal}
<script>
	$(function(){
		$( "#tabs" ).tabs({
			ajaxOptions: {
				error: function( xhr, status, index, anchor ) {
					$( anchor.hash ).html(
						"Couldn't load this page. We'll try to fix this as soon as possible. ");
				}
			}
		});
	});
</script>
{/literal}